package com.example.model23.test3;

public class TrainFactory implements VehicleFactory {
    @Override
    public Vehicle create() {
        return new Train();
    }
}